package com.example.config;

import com.example.MyAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName Config1
 * @Description
 * @Author Yin
 * @Date 2021/4/11 23:43
 * @Version 1.0
 */
@Configuration
public class Config1 {
    @Bean
    public MyAspect myAspect(){
        return new MyAspect();
    }
}
